/*
 * @Author: licongwei
 * @Date: 2022-02-11 14:47:33
 * @Description: echart配置项批量导入
 */
const files = require.context('./', true, /^\.\/[^/]+\.ts$/)
const optionMap: any = {}
files.keys().forEach((key) => {
  if (key.indexOf('index') != -1) return
  const optName: any = key.match(/([^./]+)/)
  optionMap[optName[1]] = files(key).default
})
export default optionMap
